IDataSeries
Defines the Generic interface to a DataSeries which provides a data-source to a BaseRenderableSeries
实现: IDataSeries, ISuspendable
属性
方法
Append(T, T[])
Appends an X, Y point to the series
- x
- The X Value
- yValues
- The Y Values (depends on series type)
Append(IEnumerable<T>, IEnumerable<T>[])
Appends a list of X, Y points to the series
- x
- The list of X points
- yValues
- Lists of Y points (depends on series type)
Clone() : IDataSeries<T, T>
Creates a deep copy of a DataSeries
GetYMaxAt(int, T) : T
Used internally by AutoRanging algorithm. When overriden in a derived class, gets the Max(existingYMax, currentMax), where currentMax is the maximum at the specified index
- index
- The index to the underlying dataset
- existingYMax
- The existing maximum
返回值: The new YMax, which is the Min(existingYMax, currentMax)
GetYMinAt(int, T) : T
Used internally by AutoRanging algorithm. When overriden in a derived class, gets the Min(existingYMin, currentMin), where currentMin is the minimum at the specified index
- index
- The index to the underlying dataset
- existingYMin
- The existing minimum
返回值: The new YMin, which is the Min(existingYMin, currentMin)
RemoveRange(int, int)
Removes a range of points starting from the specified index
- startIndex
- Starting index of the range of elements to remove
- count
- The number of elements to remove